package com.dao;
import java.util.List;
import java.util.Map;

import com.entity.Fail;
import com.entity.Uploadfile;
public interface UploadfileMapper {
	
    int deleteByPrimaryKey(Integer yid);

    int insert(Uploadfile record);
    
    int upyfilename(Uploadfile record);

    int insertSelective(Uploadfile record);
    
    List<Uploadfile> selectByPrimaryKeyList(Integer id);

    Uploadfile selectByPrimaryKey(Integer yid);

    int updateByPrimaryKeySelective(Uploadfile record);

    int updateByPrimaryKey(Uploadfile record);
    
    List<Uploadfile> selectAll();
    
    List<Uploadfile> selectYnumber(int ynumber);
    
    List<Uploadfile> seleectTimeAndAddress(Map<String, Object>map);
    
    List<Uploadfile> getAddress(String addr);
    
    List<Uploadfile> selectYnameOrYphone(Map<String,Object>map);
    
    List<Uploadfile> selectByPage(Map<String,Object>map);
    
    List<Uploadfile> selectYnameYphoneByPage(Map<String,Object>map);
    
    List<Uploadfile> selectYnumberByPage(Map<String,Object>map);
    
    List<Uploadfile> selectYnumberAndAddress(Map<String,Object> map);
    
    List<Uploadfile> selectTimeAndUnitdoor(Map<String,Object> map);
    
    List<Uploadfile> selectTimeAndUnitdoorAll(Map<String,Object> map);
    
    List<Uploadfile> selectTimeAndUnitdoorAllto(Map<String,Object> map);
    
    List<Uploadfile> fail(Map<String,Object>map);
    
    List<Uploadfile> gunfail(String str);
    
    List<Uploadfile> FailedFaceDetection(String address);
    
    List<Uploadfile> cshnumber();
}